* bidi.c (bidi_fetch_char): Swap first and second arguments
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 7 Mar 2013 23:37:36 +0000 (03:37 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 7 Mar 2013 23:37:36 +0000 (03:37 +0400)
commit5d8100331fdf1203965a545fb125333582c4e930
treed7ece169d4550064847e466503d6a1bd138cd0a0
parentb49994da6f1e20a6f28452f3116c31087d2037a6
* bidi.c (bidi_fetch_char): Swap first and second arguments
to match other functions accepting character and byte positions.
Adjust comment.
(bidi_resolve_explicit_1, bidi_level_of_next_char): Adjust users.
(bidi_paragraph_init): Likewise.  Use DEC_BOTH which is faster
when you need just to move to the previous buffer position.
* xdisp.c (Fcurrent_bidi_paragraph_direction): Use DEC_BOTH.
src/ChangeLog
src/bidi.c
src/xdisp.c